package com.yige.service.mongoService

import com.mongodb.DBCollection
import com.yige.common.SystemConstant
import com.yige.service.LessonService
import org.springframework.stereotype.Service

/**
 * Created by sunhao on 2015/9/17 0017.
 */

@Service
class MongoLessonService extends BasicMongoServiceImp implements LessonService {
    DBCollection getCollection(){
        return mongoTemplate.getCollection(SystemConstant.MONGODB_COL_LESSON)
    }
}
